package com.demo.demo2.beans;

import lombok.AllArgsConstructor;
import lombok.Data;

@Data
@AllArgsConstructor
public class ExportCityChannelVO {

    private CityChannelVO cityInfo;

    private StoreChannelVO storeInfo;

    public static boolean cityEquals(ExportCityChannelVO a, ExportCityChannelVO b) {
        return a.cityInfo == b.cityInfo;
    }

    public static String getRowCellStyle(ExportCityChannelVO row) {
        return row.getCityInfo().getCity().equals("汇总") ? "lastRowCellStyle" : null;
    }

}
